package com.aaa.hospital.Client.service.Impl;

import com.aaa.hospital.Client.mapper.DoctorinformationMapper;
import com.aaa.hospital.Client.service.DoctorinformationService;
import com.aaa.hospital.ManagementEnd.pojo.Docuser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DoctorinformationServiceImpl implements DoctorinformationService {
    @Autowired
    private DoctorinformationMapper mapper;


    @Override
    public List<Docuser> queryAll(int id) {
        return mapper.queryAll(id);
    }

    @Override
    public List<Docuser> querysum(String visitdate, Integer did) {
        return mapper.querysum(visitdate, did);
    }
}
